toolbar {
  background-image:url('chrome://songbird/skin/base-elements/toolbar-background.gif');
  background-repeat:repeat-x;
  background-position:center 0px;
}

/* No text */
toolbar[mode="icons"] .toolbarbutton-text {
  display: none;
}

/*
 Set up the default image rects for different states of the button, the
 image will be defined somewhere else (like playerControls.css for the play
 button)
*/
toolbarbutton {
  -mox-box-orient: vertical;
  -moz-image-region: rect( 0px 24px 24px 0px );
}
toolbarbutton:hover {
  -moz-image-region: rect( 24px 24px 48px 0px );
}
toolbarbutton:active {
  -moz-image-region: rect( 48px 24px 72px 0px );
}
toolbarbutton[disabled="true"] {
  -moz-image-region: rect( 72px 24px 96px 0px );
}
/* Small Size Icons */
toolbar[iconsize="small"] toolbarbutton {
  -moz-image-region: rect( 0px 40px 16px 24px );
}
toolbar[iconsize="small"] toolbarbutton:hover {
  -moz-image-region: rect( 24px 40px 40px 24px );
}
toolbar[iconsize="small"] toolbarbutton:active {
  -moz-image-region: rect( 48px 40px 64px 24px );
}
toolbar[iconsize="small"] toolbarbutton[disabled="true"] {
  -moz-image-region: rect( 72px 40px 88px 24px );
}
